Functional photoacoustic microscopy